


<!DOCTYPE html>
<html id="htmlId">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
  <title>Coverage Report > CartEntity</title>
  <style type="text/css">
    @import "../../css/coverage.css";
    @import "../../css/idea.min.css";
  </style>
  <script type="text/javascript" src="../../js/highlight.min.js"></script>
  <script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>

<body>
<div class="content">
<div class="breadCrumbs">
Current scope:     <a href="../../index.html">all classes</a>
    <span class="separator">|</span>
    <a href="../index.html">com.ie.entity.admin</a>
</div>

<h1>Coverage Summary for Class: CartEntity (com.ie.entity.admin)</h1>

<table class="coverageStats">
<tr>
  <th class="name">Class</th>
<th class="coverageStat 
">
  Class, %
</th>
<th class="coverageStat 
">
  Method, %
</th>
<th class="coverageStat 
">
  Branch, %
</th>
<th class="coverageStat 
">
  Line, %
</th>
</tr>
<tr>
  <td class="name">CartEntity</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/1)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/10)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/78)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/10)
  </span>
</td>
</tr>

</table>

<br/>
<br/>


<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package com.ie.entity.admin;
&nbsp;
&nbsp;import com.baomidou.mybatisplus.annotation.IdType;
&nbsp;import com.baomidou.mybatisplus.annotation.TableField;
&nbsp;import com.baomidou.mybatisplus.annotation.TableId;
&nbsp;import com.baomidou.mybatisplus.annotation.TableName;
&nbsp;import lombok.Data;
&nbsp;
&nbsp;import java.util.List;
&nbsp;
<b class="nc">&nbsp;@Data</b>
&nbsp;@TableName(&quot;carttable&quot;)
&nbsp;@SuppressWarnings(&quot;all&quot;)  //去除代码的破浪线
&nbsp;public class CartEntity {
&nbsp;    @TableId(value = &quot;id&quot;, type = IdType.AUTO)
<b class="nc">&nbsp;    private Integer id;</b>
&nbsp;    //用户ID（FK）
<b class="nc">&nbsp;    private Integer busertableId;</b>
&nbsp;    //商品编号（FK）
<b class="nc">&nbsp;    private Integer goodstableId;</b>
&nbsp;    //购买数量
<b class="nc">&nbsp;    private Integer shoppingnum;</b>
&nbsp;    // 添加这些字段，用于接收商品信息（从商品表关联查询）
<b class="nc">&nbsp;    private String gname;     // 商品名称</b>
<b class="nc">&nbsp;    private Double grprice;   // 商品价格</b>
<b class="nc">&nbsp;    private String gpicture;  // 商品图片</b>
&nbsp;    @TableField(exist = false)
&nbsp;    //购物车商品购买数量列表
<b class="nc">&nbsp;    private List&lt;Integer&gt; bshoppingnum;</b>
&nbsp;    @TableField(exist = false)
&nbsp;    //购物车id列表
<b class="nc">&nbsp;    private List&lt;Integer&gt; bcid;</b>
&nbsp;
&nbsp;
&nbsp;}
</code>
</pre>
</div>

<script type="text/javascript">
(function() {
    var msie = false, msie9 = false;
    /*@cc_on
      msie = true;
      @if (@_jscript_version >= 9)
        msie9 = true;
      @end
    @*/

    if (!msie || msie && msie9) {
      hljs.highlightAll()
      hljs.initLineNumbersOnLoad();
    }
})();
</script>

<div class="footer">
    
    <div style="float:right;">generated on 2025-06-15 18:23</div>
</div>
</body>
</html>
